/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;

/**
 *
 * @author Henrik-iMac
 */
public interface IFDBPostalCity {
    //get all cities
    public ArrayList<PostalCity> getAllCities();
    //get one city have the zipcode
    public PostalCity findCityZipCode(int zipCode);
    public PostalCity findCityByName(String city);

   //insert a new city
    public int insertCity(PostalCity city);
    //update information about a city
    public int updateCity(PostalCity city);
}
